package org.darkforest.model;

import org.darkforest.common.util.Page;

public class Relation extends Page<Relation> {
    private Integer rId;

    private String rName;

    private Integer rType;

    private String rMark;

    private String createTime;

    private Integer createrId;

    private String createName;

    private Integer rState;


    public Relation(){}

    public Relation(boolean pageSwtich){
        super.setPageSwitch(pageSwtich);
    }

    public Relation(String rName) {
        this.rName = rName;
    }

    public Integer getrId() {
        return rId;
    }

    public void setrId(Integer rId) {
        this.rId = rId;
    }

    public String getrName() {
        return rName;
    }

    public void setrName(String rName) {
        this.rName = rName == null ? null : rName.trim();
    }

    public Integer getrType() {
        return rType;
    }

    public void setrType(Integer rType) {
        this.rType = rType;
    }

    public String getrMark() {
        return rMark;
    }

    public void setrMark(String rMark) {
        this.rMark = rMark == null ? null : rMark.trim();
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime == null ? null : createTime.trim();
    }

    public Integer getCreaterId() {
        return createrId;
    }

    public void setCreaterId(Integer createrId) {
        this.createrId = createrId;
    }

    public String getCreateName() {
        return createName;
    }

    public void setCreateName(String createName) {
        this.createName = createName == null ? null : createName.trim();
    }

    public Integer getrState() {
        return rState;
    }

    public void setrState(Integer rState) {
        this.rState = rState;
    }
}